﻿<UserControl x:Class="DienLib.PopUp.PopUpRetry"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="170" d:DesignWidth="447" BorderBrush="#FFF14A4A" BorderThickness="6" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <StackPanel Height="Auto" Name="stackPanel1" Width="Auto" Background="#FFF5F5C3">
        <TextBlock FontSize="14" FontWeight="Normal" Foreground="#FFB92B2B" Height="Auto" Name="textBlock1" Text="WARNING : " TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" HorizontalAlignment="Stretch" Margin="12" />
        <TextBlock FontSize="12" FontStyle="Normal" FontWeight="Normal" Height="Auto" Name="textBlock2" Padding="0" Text="Comment" TextAlignment="Left" TextWrapping="NoWrap" Width="Auto" Margin="12,0,12,12" VerticalAlignment="Center" HorizontalAlignment="Center" />
        <WrapPanel Height="Auto" Name="wrapPanel1" Width="Auto" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button BorderThickness="0" Content="RETRY" FlowDirection="LeftToRight" FontSize="16" FontWeight="Bold" Height="30" Margin="12" Name="button1" Width="140" VerticalAlignment="Center" HorizontalAlignment="Center" Click="button1_Click">
                <Button.Foreground>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="#FFAF0000" Offset="1" />
                    </LinearGradientBrush>
                </Button.Foreground>
            </Button>
            <Button BorderThickness="0" Content="NEXT" FlowDirection="LeftToRight" FontSize="16" FontWeight="Bold" Height="30" Margin="12" Name="button2" Width="140" VerticalAlignment="Center" HorizontalAlignment="Center" Click="button2_Click" IsDefault="True">
                <Button.Foreground>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="#FF2BA7A7" Offset="0" />
                        <GradientStop Color="#FF025EAD" Offset="1" />
                    </LinearGradientBrush>
                </Button.Foreground>
            </Button>
        </WrapPanel>
        <CheckBox Content=" Do not show it again !" Height="16" Name="checkBox1" Margin="12" FontWeight="Normal" FontStyle="Normal" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" />
    </StackPanel>
</UserControl>
